package com.ruoyi.demo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备调控日志对象 device_log
 * 
 * @author ruoyi
 * @date 2025-01-10
 */
public class DeviceLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志id */
    private Long devicelogId;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long userId;

    /** 操作人姓名 */
    @Excel(name = "操作人姓名")
    private String userName;

    /** 设备序列号 */
    @Excel(name = "设备序列号")
    private String deviceNum;

    /** 类别 */
    @Excel(name = "类别")
    private String deviceType;

    /** 地址 */
    @Excel(name = "地址")
    private String roomAddress;

    /** 温度初状态 */
    @Excel(name = "温度初状态")
    private Long lTemp;

    /** 大小初 */
    @Excel(name = "大小初")
    private Long lSize;

    /** 开关初 */
    @Excel(name = "开关初")
    private String lActive;

    /** 温度末状态 */
    @Excel(name = "温度末状态")
    private Long fTemp;

    /** 大小末 */
    @Excel(name = "大小末")
    private Long fSize;

    /** 开关末 */
    @Excel(name = "开关末")
    private String fActive;

    /** 操作内容 */
    @Excel(name = "操作内容")
    private String oprationContent;

    public void setDevicelogId(Long devicelogId) 
    {
        this.devicelogId = devicelogId;
    }

    public Long getDevicelogId() 
    {
        return devicelogId;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setDeviceNum(String deviceNum) 
    {
        this.deviceNum = deviceNum;
    }

    public String getDeviceNum() 
    {
        return deviceNum;
    }
    public void setDeviceType(String deviceType) 
    {
        this.deviceType = deviceType;
    }

    public String getDeviceType() 
    {
        return deviceType;
    }
    public void setRoomAddress(String roomAddress) 
    {
        this.roomAddress = roomAddress;
    }

    public String getRoomAddress() 
    {
        return roomAddress;
    }
    public void setlTemp(Long lTemp) 
    {
        this.lTemp = lTemp;
    }

    public Long getlTemp() 
    {
        return lTemp;
    }
    public void setlSize(Long lSize) 
    {
        this.lSize = lSize;
    }

    public Long getlSize() 
    {
        return lSize;
    }
    public void setlActive(String lActive) 
    {
        this.lActive = lActive;
    }

    public String getlActive() 
    {
        return lActive;
    }
    public void setfTemp(Long fTemp) 
    {
        this.fTemp = fTemp;
    }

    public Long getfTemp() 
    {
        return fTemp;
    }
    public void setfSize(Long fSize) 
    {
        this.fSize = fSize;
    }

    public Long getfSize() 
    {
        return fSize;
    }
    public void setfActive(String fActive) 
    {
        this.fActive = fActive;
    }

    public String getfActive() 
    {
        return fActive;
    }
    public void setOprationContent(String oprationContent) 
    {
        this.oprationContent = oprationContent;
    }

    public String getOprationContent() 
    {
        return oprationContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("devicelogId", getDevicelogId())
            .append("deviceId", getDeviceId())
            .append("deviceName", getDeviceName())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("deviceNum", getDeviceNum())
            .append("deviceType", getDeviceType())
            .append("roomAddress", getRoomAddress())
            .append("lTemp", getlTemp())
            .append("lSize", getlSize())
            .append("lActive", getlActive())
            .append("fTemp", getfTemp())
            .append("fSize", getfSize())
            .append("fActive", getfActive())
            .append("oprationContent", getOprationContent())
            .append("createTime", getCreateTime())
            .toString();
    }
}
